<!DOCTYPE html>
<html lang="zh - CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial - scale=1.0">
  <title>OnlineJudge 平台</title>
  <style>
    /* 导航栏样式 */
    nav {
      background-color: #333;
      overflow: hidden;
    }

    nav ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
    }

    nav ul li {
      float: left;
    }

    nav ul li a {
      display: block;
      color: white;
      text-align: center;
      padding: 14px 16px;
      text-decoration: none;
    }

    nav ul li a:hover {
      background-color: #111;
    }

    /* 标题样式 */
    h1 {
      text-align: center;
      margin-top: 50px;
    }

    h3 {
      text-align: center;
      margin-top: 20px;
    }

    .login_item {
      float: right;
    }
  </style>
</head>

<body>
  <!-- 导航栏 -->
  <nav>
    <ul>
      <li><a href=" ">首页</a></li>
      <li><a href="../template_html/all_questions.html">题库</a></li>
      <li><a href="test.html">竞赛</a></li>
      <li><a href="test.html">讨论</a></li>
      <li><a href="test.html">求职</a></li>
      <li class="login_item"><a href="login_register.html">登录</a></li>
    </ul>
  </nav>

  <!-- 主标题 -->
  <h1>欢迎来到我的OnlineJudge平台</h1>
  <!-- 可点击跳转的小标题 -->
  <h3><a href="../template_html/all_questions.html">点击我开始编程啦！</a></h3>
</body>

</html>